﻿using System.ComponentModel;
using System.Threading.Tasks;
using Abp.Application.Services;
using SingleUserMall.Common;
using SingleUserMall.Stores.VO;

namespace SingleUserMall.Configuration
{
    /// <summary>
    /// 配置
    /// </summary>
    [Description("配置")]
    public interface IConfigurationAppService: IAppService
    {
        /// <summary>
        /// 获取店铺信息
        /// </summary>
        /// <returns></returns>
        Task<StoreVO> GetStoreInfoAsync(HasStoreForm form);
        /// <summary>
        /// 上传
        /// </summary>
        /// <returns></returns>
        Task<string> UploadAsync([SwaggerFileUpload] string file);
        /// <summary>
        /// 获取系统版本号和相关下载地址
        /// </summary>
        /// <returns></returns>
        Task<dynamic> GetVersion();
    }
}